import axios  from "@/utils/axios";
const meal ={
    getAllMeal(){
        return axios.get("/meal/getAllMeal")
    },
    // 修改套餐
    updataMeal(data){
        return axios.post("meal/updateMeal",data)
    },
    // 添加套餐
    addMeal(data){
        return axios.post("/meal/addMeal",data)
    },
    // 删除套餐
    delMeal(data){
        return axios.post("/meal/delMeal",{
            _id:data
        })
    }
}
export default meal